package com.wy.service;

import com.wy.bean.Dianpu;
import com.wy.bean.Shop;

import java.util.List;

public interface DianpuService {
    //列表模糊分页
    public List<Dianpu> list(Dianpu dianpu);

    void insert(Dianpu dianpu);

    //查询所有商品
    List<Shop> getShops();

    //根据主键id回显
    Dianpu getById(String did);

    void update(Dianpu dianpu);

    //批量删除主表
    void deletebth(String[] dids);
}
